Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make more things pub in the renderer #12053

Merged
merged 3 commits into from
Feb 23, 2024
Merged

Conversation

IceSentry
Copy link
Contributor

Objective

  • Some properties of public types are private but sometimes it's useful to be able to set those

Solution

  • Make more stuff pub

Changelog

  • MaterialBindGroupId internal id is now pub and added a new() constructor
  • ExtractedPointLight and ExtractedDirectionalLight properties are now all pub

@IceSentry IceSentry added the A-Rendering Drawing game state to the screen label Feb 22, 2024
@IceSentry IceSentry added this to the 0.13.1 milestone Feb 22, 2024
@IceSentry IceSentry added the C-Code-Quality A section of code that is hard to understand or change label Feb 22, 2024
@IceSentry IceSentry requested a review from JMS55 February 22, 2024 21:37
crates/bevy_pbr/src/material.rs Show resolved Hide resolved
@james7132 james7132 added this pull request to the merge queue Feb 23, 2024
Merged via the queue into bevyengine:main with commit e79b9b6 Feb 23, 2024
23 checks passed
msvbg pushed a commit to msvbg/bevy that referenced this pull request Feb 26, 2024
# Objective

- Some properties of public types are private but sometimes it's useful
to be able to set those

## Solution

- Make more stuff pub

---

## Changelog

- `MaterialBindGroupId` internal id is now pub and added a new()
constructor
- `ExtractedPointLight` and `ExtractedDirectionalLight` properties are
now all pub

---------

Co-authored-by: James Liu <[email protected]>
msvbg pushed a commit to msvbg/bevy that referenced this pull request Feb 26, 2024
# Objective

- Some properties of public types are private but sometimes it's useful
to be able to set those

## Solution

- Make more stuff pub

---

## Changelog

- `MaterialBindGroupId` internal id is now pub and added a new()
constructor
- `ExtractedPointLight` and `ExtractedDirectionalLight` properties are
now all pub

---------

Co-authored-by: James Liu <[email protected]>
mockersf pushed a commit that referenced this pull request Feb 27, 2024
# Objective

- Some properties of public types are private but sometimes it's useful
to be able to set those

## Solution

- Make more stuff pub

---

## Changelog

- `MaterialBindGroupId` internal id is now pub and added a new()
constructor
- `ExtractedPointLight` and `ExtractedDirectionalLight` properties are
now all pub

---------

Co-authored-by: James Liu <[email protected]>
@IceSentry IceSentry deleted the pub-render branch April 4, 2024 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Code-Quality A section of code that is hard to understand or change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants